﻿
namespace Sidvall.FileSystemManager.UI.ViewModels
{
    public sealed class MainWindowViewModel : Sidvall.FileSystemManager.UI.ViewModels.Core.MainWindowViewModelBase
    {
        #region Public Members

        #region Title

        private string _Title;
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                if (_Title == value)
                    return;
                _Title = value;
                RaisePropertyChanged("Title");
            }
        }

        #endregion

        #region Start

        public void Start(string title)
        {
            base.Start();

            _ApplicationTitle = title;
            this.IsBusyMessage = "LADDAR";
            InitializeServer();
        }

        #endregion

        #endregion
        #region Private Members

        private string _ApplicationTitle;

        #region InitializeServer

        private void InitializeServer()
        {
            this.Title = _ApplicationTitle;
        }

        #endregion

        #endregion
        #region Constructors

        public MainWindowViewModel()
        {
        }

        #endregion
    }
}
